import request from '@/utils/httpRequest'
const prefix = "/mall-member";

/**
 * 会员足迹列表
 */
export function getFootprintList(params) {
  return request({
    url: '/member/footer',
    method: 'GET',
    params: params
  })
}

/**
 * 删除会员足迹
 */
export function deleteFootprint(params) {
  return request({
    url: '/member/footer',
    method: 'DELETE',
    params: params
  })
}

export function addFootprint(data) {
  return request({
    url: '/member/footer',
    method: 'post',
    data: data
  })
}

export function clearFootprint() {
  return request({
    url: '/member/footer/clear',
    method: 'DELETE'
  })
}
